package com.ithuameng.admin.app.system.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ithuameng.admin.enums.YesNo;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 字典数据表 sys_dict_data
 *
 * @author ithuameng
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("t_dict_data")
public class DictData extends AdminLogic<Long> {

    private static final long serialVersionUID = 1L;

    public static final String DICT_TYPE = "dict_type";

    public static final String DICT_VALUE = "dict_value";

    public static final String DICT_LABEL = "dict_label";

    public static final String STATUS = "status";

    /**
     * 字典编码
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 字典排序
     */
    private Long dictSort;

    /**
     * 字典标签
     */
    private String dictLabel;

    /**
     * 字典键值
     */
    private String dictValue;

    /**
     * 字典类型
     */
    private String dictType;

    /**
     * 样式属性（其他样式扩展）
     */
    private String cssClass;

    /**
     * 表格字典样式
     */
    private String listClass;

    /**
     * 是否默认
     */
    private YesNo isDefault;

    /**
     * 状态
     */
    private YesNo status;

    /**
     * 备注
     */
    private String remark;
}
